﻿@model GameCode.Models.PhoneApp.GameClassifyModel
@{
    ViewBag.Title = "游戏特权 - 游戏分类";
    Layout = "~/Views/Shared/_Layout.cshtml";
    //Layout = null;
}
<ul class="listview gameclassifylist">
    <!--游戏分类-->
    @foreach (var type in Model.GameTypeList)
    {
        <li><a onclick="loadUrl('PhoneApp/GameType?id=@type.ID')" href="#">
            <div class="gameclassifylist_item">
                @*<div class="gameclassifylist_item_left">
                    <img class="gameclassifylist_item_img" alt="" src="@type.ImageLink" />
                </div>
                <div class="gameclassifylist_item_right">
                    <div class="gameclassifylist_item_name">
                        @type.Name</div>
                    <div class="gameclassifylist_item_detail">
                        @type.Description
                    </div>
                </div>*@
                <div class="gameclassifylist_item_top">
                    <img class="gameclassifylist_item_img" src="@string.Format("http://{0}/{1}", Request.Url.Host, type.ImageLink == null ? "" : type.ImageLink)" />
                </div>
                <div class="gameclassifylist_item_bottom">
                    <div class="gameclassifylist_item_name">@type.Name</div>
                </div>
            </div>
        </a></li>
    }
    <!--游戏分类-->
</ul>
<div class="clear"></div>